<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0030)http://t.163.com/app/list/life -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>G305实验室交流平台</title>
<meta name="Keywords" content="g305">
<meta name="Description" content="g305实验室交流平台">

<link rel="stylesheet" type="text/css"
	href="../../static/common1.2.4.css">

<link rel="stylesheet" href="../../static/oauth1.0.3.css"
	type="text/css">
<script type="text/javascript" src="../../static/ntes_jslib_1.4.4.js"
	charset="utf-8"></script>
<link type="text/css" rel="stylesheet"
	href="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/style.css">
<script type="text/javascript" charset="utf-8"
	src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/page_context.js"></script>



<style type="text/css">
	
	#msg{
		font-size:  larger;
		color: red;
		}


</style>



<script type="text/javascript">
	
	function checkAll() {
		var username=document.getElementById("username").value;
		var password=document.getElementById("password").value;
		var msg=document.getElementById("msg");
		var flag=true;
		if (username==""){
			msg.innerHTML = "<img src=\"../../static/img/check_error.png\" align=\"middle\">用户名不能为空";
			flag=false;
		}else if(password==""){
			msg.innerHTML = "<img src=\"../../static/img/check_error.png\" align=\"middle\">密码不能为空";
			flag=false;
		}
		return flag;
	}	
	
</script>



</head>
<h1 class="hidden">
	<label>用户名：</label><input type="text" value="username" />
</h1>
<body screen_capture_injected="true">
	

	<div class="global-nav" id="globalNav">
		<div class="global-nav-inner">
			<form action="/user/login.do" method="post">
				<ul class="global-nav-left">
					<li class="item"><a href="/index.do">首页</a>&nbsp;&nbsp;&nbsp;
					</li>
					<li class="item"><label>用户名：</label><input type="text"
						name="username" /></li>
					<li class="item"><label>密码：</label><input type="password"
						name="password" /></li>
					<li class="item"><input type="submit" value="登录" /></li>
					<li class="item"><a href="/user/register_view.do">&nbsp;&nbsp;&nbsp;&nbsp;注册</a>
					</li>
				</ul>
			</form>
		</div>
	</div>

	<div class="header">
		<div class="header-inner">
			<a class="sub-logo oauth-logo" href="#" title="G305"></a>
		</div>
	</div>
	<center>
		<p>
			<img width="50" height="50" alt="G305光环" src="../../static/img/progress_bar.gif" align="right">
			<font size="7" color="red">G</font><font size="5" color="green">3</font><font
				size="5" color="#ff00ff">0</font><font size="5" color="#9400d3">5</font><font
				size="5">成员登录</font>
		    <img width="50" height="50" alt="G305光环" src="../../static/img/progress_bar.gif" align="left">
		</p>
		<span id="msg"><img src="../../static/img/check_error.png" align="middle">用户名或密码错误</span>
		<form action="/user/login.do" method="post" onsubmit="return checkAll();">
			<table>
				<tr height="40">
					<td><label><font size="5">用户名：</font></label></td>
					<td>
						<p align="center">
							<input type="text" name="username" id="username" size="40" style="height: 30px" onblur="check_username(this.value)" >
						</p>
					</td>
				</tr>
				<tr height="40">
					<td><label><font size="5">密码：</font></label></td>
					<td>
						<p>
							<input type="password" name="password" id="password" size="40"style="height: 30px" onblur="check_password(this.value)">
						</p>
					</td>
				</tr>
			</table>

			<br/> <input type="submit" value="登录">&nbsp;&nbsp;&nbsp;<a
				href="/user/register_view.do">注册</a>
		</form>
	</center>
<jsp:include page="../templete/footer.jsp"></jsp:include>
</body>
</html>